package com.hwz.gulimall.product.feign;

import com.hwz.common.to.SkuHasStockTo;
import com.hwz.common.to.SkuReductionTo;
import com.hwz.common.to.SpuBoundsTo;
import com.hwz.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @Author: hwz
 * @CreateTime: 2025-06-11
 */


@FeignClient("gulimall-ware")
public interface WareFeignService {

    @RequestMapping("/ware/waresku/hasStock")
     List<SkuHasStockTo> hasStock(@RequestBody List<Long> skuIds);
}
